require('dotenv').config();
const path = require('path');
require("@nomiclabs/hardhat-ethers");
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
  solidity: "0.8.28",
  settings: {
    optimizer: {
      enabled: true,
      runs: 1
    },
    viaIR: true
  },

  networks: {
    localhost: {
      url: "http://127.0.0.1:8545"
    },
    amoy: {
      url: "https://polygon-amoy.g.alchemy.com/v2/IfhID69EVIa9M6ofL1ZsAwhIkPNdNZg4",
      accounts: [process.env.PRIVATE_KEY]
    },
    // sepolia: {
    //   url: "https://rpc.sepolia.org",
    //   accounts: [process.env.PRIVATE_KEY]
    // }
    },
  };